package com.itheima;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/*@Controller
@ResponseBody*/

/**
 * Controller
 * @author Johnny.Chen
 *
 */
@RestController
public class HelloController {
	
	//@RequestMapping(value="/sayHello",method=RequestMethod.GET)
	@GetMapping("/sayhello")
	public String sayHello() {
		return "Java入门到发疯333";
	}

}
